package com.viboo.concern.service.impl;

import com.viboo.concern.dao.ChatInfoMapper;
import com.viboo.concern.entity.ChatInfo;
import com.viboo.concern.service.ChatInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("chatInfoService")
public class ChatInfoServiceImpl implements ChatInfoService {

    @Autowired
    public ChatInfoMapper chatInfoMapper;

    @Override
    public ChatInfo select() {
        try {
            return chatInfoMapper.selectBySex();
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
}
